/**
 *
 */
package com.zhuoyue.zhtj.entity;

import org.hibernate.validator.constraints.Length;

import com.eit.eitsite.common.persistence.DataEntity;

/**
 * 职能Entity
 * @author hss
 * @version 2017-08-15
 */
public class Znxx extends DataEntity<Znxx> {
	
	private static final long serialVersionUID = 1L;
	private String znmc;		// 职能名称
	private String stuId;		// 学号
	
	public Znxx() {
		super();
	}

	public Znxx(String id){
		super(id);
	}

	@Length(min=0, max=30, message="职能名称长度必须介于 0 和 30 之间")
	public String getZnmc() {
		return znmc;
	}

	public void setZnmc(String znmc) {
		this.znmc = znmc;
	}
	
	@Length(min=0, max=40, message="学号长度必须介于 0 和 40 之间")
	public String getStuId() {
		return stuId;
	}

	public void setStuId(String stuId) {
		this.stuId = stuId;
	}
	
}